Skip to content

Commit

Permalink
fix: remove deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
tapiarafael committed Aug 22, 2024
1 parent 5e5fa1d commit 55d68af
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions apps/meteor/app/livechat/server/api/v1/contact.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,11 @@ import { Meteor } from 'meteor/meteor';
import { API } from '../../../../api/server';
import { Contacts, createContact } from '../../lib/Contacts';

/**
* @deprecated to create a contact, use the omnichannel/contacts endpoint
*/
API.v1.addRoute(
'omnichannel/contact',
{
authRequired: true,
permissionsRequired: ['view-l-room'],
deprecation: { version: '8.0.0', alternatives: ['omnichannel/contacts'] },
},
{
async post() {
Expand Down

0 comments on commit 55d68af

Please sign in to comment.