Skip to content

Commit

Permalink
fix Lunify create options
Browse files Browse the repository at this point in the history
  • Loading branch information
Luna-devv committed Jan 18, 2024
1 parent 15a0071 commit 0e9a691
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/interfaces/rest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { RequestDomain } from '../lib';
export interface Options {
clientId: string;
clientSecret: string;
oauth: {
oauth?: {
redirectUri: string;
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/lib/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export class Lunify {
*/
public ready: boolean;

constructor(public options: Required<Options>) {
constructor(public options: Options) {
this.rest = new RestManager(this);
this.oauth = new OauthManager(this);
this.users = new UsersManager(this);
Expand Down

0 comments on commit 0e9a691

Please sign in to comment.