Skip to content

Commit

Permalink
Rename targetId -> targetID
Browse files Browse the repository at this point in the history
  • Loading branch information
karaggeorge committed Nov 22, 2024
1 parent 9799d31 commit f5c1cc7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Sources/ApertureNode/ApertureNode.swift
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ extension NodeObject {

return Aperture.RecordingOptions(
destination: destination,
targetID: try getAs("targetId", type: String.self),
targetID: try getAs("targetID", type: String.self),
framesPerSecond: try getAs("framesPerSecond", type: Int.self) ?? 60,
cropRect: try getAs("cropRect", type: NodeObject.self)?.asCGRect(),
showCursor: try getAs("showCursor", type: Bool.self) ?? true,
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export class Recorder {
}

if (recorderOptions.targetId) {
finalOptions.targetId = recorderOptions.targetId;
finalOptions.targetID = recorderOptions.targetId;
}

if (recorderOptions.audioDeviceId) {
Expand Down

0 comments on commit f5c1cc7

Please sign in to comment.