Skip to content

Commit

Permalink
fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
achou11 committed Aug 30, 2023
1 parent 0531cd4 commit c1d0acd
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/member-api.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { TypedEmitter } from 'tiny-typed-emitter'
import { MapeoRPC } from './rpc/index.js'

export class MemberApi extends TypedEmitter {
#encryptionKeys
Expand All @@ -12,7 +11,7 @@ export class MemberApi extends TypedEmitter {
* @param {import('./generated/keys.js').EncryptionKeys} opts.encryptionKeys
* @param {() => Promise<import('./generated/rpc.js').Invite_ProjectInfo>} opts.getProjectInfo
* @param {Buffer} opts.projectKey
* @param {MapeoRPC} opts.rpc
* @param {import('./rpc/index.js').MapeoRPC} opts.rpc
*/
constructor({ encryptionKeys, getProjectInfo, projectKey, rpc }) {
super()
Expand All @@ -31,7 +30,7 @@ export class MemberApi extends TypedEmitter {
*
* @returns {Promise<import('./generated/rpc.js').InviteResponse_Decision>}
*/
async invite(deviceId, { role, timeout }) {
async invite(deviceId, { timeout }) {
const projectInfo = await this.#getProjectInfo()

return this.#rpc.invite(deviceId, {
Expand Down

0 comments on commit c1d0acd

Please sign in to comment.