Skip to main content

talawa-api / Exports / utilities/loadDefaultOrganization

Module: utilities/loadDefaultOrganization

Table of contents

Functions

Functions

formatDatabase

formatDatabase(): Promise<void>

Returns

Promise<void>

Defined in

src/utilities/loadDefaultOrganization.ts:14


loadDefaultOrganization

loadDefaultOrganization(): Promise<void>

The function which loads the default organization, so that there is always altleast 1 organization in the DB

Returns

Promise<void>

a Promise that resolves to void

Defined in

src/utilities/loadDefaultOrganization.ts:30