chore: Rename Authentication -> IntegrationAuthentication (#2091)

This commit is contained in:
Tom Moor
2021-04-27 18:42:45 -07:00
committed by GitHub
parent 829cc14d36
commit b89f4c36f4
7 changed files with 23 additions and 18 deletions

View File

@@ -10,7 +10,7 @@ import {
Group,
GroupUser,
Attachment,
Authentication,
IntegrationAuthentication,
Integration,
AuthenticationProvider,
} from "../models";
@@ -123,7 +123,7 @@ export async function buildIntegration(overrides: Object = {}) {
const user = await buildUser({ teamId: overrides.teamId });
const authentication = await Authentication.create({
const authentication = await IntegrationAuthentication.create({
service: "slack",
userId: user.id,
teamId: user.teamId,