Skip to content

Commit ecf19c9

Browse files
committed
Switch to the new license key getter at Templates import
1 parent 0ad40fb commit ecf19c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inc/api/class-local.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ public function handle_direct_import( WP_REST_Request $request ) {
326326
array(
327327
'template_id' => $template['id'],
328328
'editor_post_id' => false,
329-
'license' => Options::get_instance()->get( 'ang_license_key' ),
329+
'license' => Utils::get_license_key(),
330330
'method' => $method,
331331
'site_id' => $site_id,
332332
)

0 commit comments

Comments
 (0)