Skip to content

Commit

Permalink
feat/breaking(MongoProvider): Rename fetchGuildSchema to fetchGuildDo…
Browse files Browse the repository at this point in the history
…cument(#80)

* Rename method

* For some reason this didn't get included
  • Loading branch information
bsian03 authored May 10, 2020
1 parent ef1ed69 commit d3e9f44
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Database/MongoProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ class MongoProvider extends ADBProvider {
* @returns {Promise<GuildDocument|null>} GuildDocument or null
* @memberof MongoProvider
*/
fetchGuildSchema(gID) {
fetchGuildDocument(gID) {
return this.GuildSchema.findOne( {
guildID: gID,
} ).exec();
Expand Down
2 changes: 1 addition & 1 deletion types/Database/MongoProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export declare class MongoProvider extends ADBProvider {
* @returns GuildDocument or null
* @memberof MongoProvider
*/
fetchGuildSchema(gID: string): Promise<GuildDocument | null>;
fetchGuildDocument(gID: string): Promise<GuildDocument | null>;

/**
* Update AxonConfig in the DB.
Expand Down

0 comments on commit d3e9f44

Please sign in to comment.